import request from '@/utils/request'

// 查询专升本考试报名列表
export function listTBregistration(query) {
  return request({
    url: '/baoming/TBregistration/list',
    method: 'get',
    params: query
  })
}

// 查询专升本考试报名详细
export function getTBregistration(id) {
  return request({
    url: '/baoming/TBregistration/' + id,
    method: 'get'
  })
}

// 新增专升本考试报名
export function addTBregistration(data) {
  return request({
    url: '/baoming/TBregistration',
    method: 'post',
    data: data
  })
}

// 修改专升本考试报名
export function updateTBregistration(data) {
  return request({
    url: '/baoming/TBregistration',
    method: 'put',
    data: data
  })
}

// 删除专升本考试报名
export function delTBregistration(id) {
  return request({
    url: '/baoming/TBregistration/' + id,
    method: 'delete'
  })
}
